package com.wsoft.hr.pm.enums;

import com.wsoft.core.enums.DcOpenTypeEnum;
import lombok.Getter;

/**
 * 工作流业务数据对应枚举
 *
 * @author zhonglj
 * @date 2025/3/7 11:40
 **/
@Getter
public enum WorkFlowBusinessDataEnum {
    /**
     * 评分
     */
    SCORE_INDEX(DcOpenTypeEnum.UPDATE.getType(), "/hrpm/pmScore/scoreIndex"),
    /**
     * 评级
     */
    GRADE_DETAIL(DcOpenTypeEnum.DETAIL.getType(), "/hrpm/activity/gradeDetail"),

    /**
     * 指标
     */
    TARGET_DETAIL(DcOpenTypeEnum.DETAIL.getType(), "/hrpm/target/targetDetail"),

    /**
     * 考评模版
     */
    TEMPLATE_DETAIL(DcOpenTypeEnum.DETAIL.getType(), "/hrpm/activity/memberTemplateDetail");

    private final String businessType;
    private final String businessValue;

    WorkFlowBusinessDataEnum(String businessType, String businessValue) {
        this.businessType = businessType;
        this.businessValue = businessValue;
    }
}
